Skip to content

Bootstrap ModelKit#5

Merged
timenick merged 1 commit into
mainfrom
zhiwang/init
Mar 18, 2026
Merged

Bootstrap ModelKit#5
timenick merged 1 commit into
mainfrom
zhiwang/init

Conversation

@timenick

Copy link
Copy Markdown
Collaborator

No description provided.

@timenick timenick requested a review from DingmaomaoBJTU March 18, 2026 06:18
@timenick timenick merged commit c2ceff8 into main Mar 18, 2026
1 check passed
@timenick timenick deleted the zhiwang/init branch March 18, 2026 06:35
vortex-captain pushed a commit that referenced this pull request May 29, 2026
, #5)

- Correct the resolve_optimum_library docstring: an explicit
  `--library transformers` is still rerouted for wrapped types (the predicate is
  library_name == "transformers"); only an explicit non-transformers library is
  returned unchanged.
- Export resolve_optimum_library via loader/__init__.py (__all__ + module
  Public API docstring) since it is consumed cross-package; import it from
  ..loader in export/io.py and commands/inspect.py.
DingmaomaoBJTU pushed a commit that referenced this pull request Jun 22, 2026
…sampling, promote_findings)

Aligns the autoconfig POC code with docs/self-evolution-design.html section 4. Implements
the components still marked TODO; champion-config, arch pruning (build_insight) and
the feature-gaps log were already done.

bench_utils.py (Fix #1/#2/#5):
- run_perf_session: atomic single-session perf primitive
- paired_ab_bench / adaptive_paired_ab_bench: interleaved baseline-vs-hypothesis
  A/B so DVFS drift cancels in the within-pair ratio; adaptive variant samples until
  the 95% CI is decisive (KEEP/DISCARD band) or MAX_PAIRS, returns verdict + CI
- thermal_classify: COOL/WARM/HOT_RUN from a cold reference latency
- session_cv: shared between-session noise-floor helper

promote_findings.py (Fix #4, NEW): reads catalog-*-sweep/*/results.json, applies the
L1->L4 confidence ladder (L2 = effect-size gate, L3 = >=2 models/arch, L4 = >=3 arch
classes), writes ep_knowledge/_auto_promoted.json as a draft sink that never clobbers
curated KB. Tolerant of both QNN (full.p50s_ms) and GPU/CPU (full_p50s_ms) schemas.

catalog_qnn_sweep.py (Fix #1 wiring): opt-in --paired-ab flag (default off) that runs
adaptive paired A/B per hypothesis against the baseline ONNX and records verdict + CI;
sequential Phase B remains the default path.

README: document the self-evolution tooling and refresh the directory layout.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants